package top.yaofengqiao.springcloudsimple.auth.biz.domain.security.model;

import lombok.Getter;
import org.springframework.security.authentication.UsernamePasswordAuthenticationToken;
import top.yaofengqiao.springcloudsimple.auth.biz.domain.auth.model.valobj.UserType;

/**
 * @author yfq
 * @date 2024/6/6 14:57
 * @description
 */
@Getter
public class MultiUserTypeAuthenticationToken extends UsernamePasswordAuthenticationToken {
    private final UserType userType;

    public MultiUserTypeAuthenticationToken(Object principal, Object credentials, UserType userType) {
        super(principal, credentials);
        this.userType = userType;
    }

}
